import MovieItem from '../../Childs/components/MovieItem.vue'
import axios from 'axios'
export default {
  data() {
    return {
      movies: [],
    }
  },
  mounted() {
    // this.$HomeHttp.getMovie().then((res) => {
    //   this.movies = res.data.result
    // })
    axios.get('http://localhost:3001/blogArticle').then((res) => {
      console.log(res.data.result.data)
      this.movies = res.data.result.data
    })
  },
  components: {
    MovieItem,
  },
}
